Ignore ggas that don't have the fix field filled out at all.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 2 Sep 2008 08:36:21 +0000 (08:36 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 2 Sep 2008 08:36:21 +0000 (08:36 +0000)
gpsbabel/nmea.c

index 4143e9dffd643f15d9c723d17b17734e77bdac05..1f69556275acfbb521bc3503f2ca39151bfa6c53 100644 (file)
@@ -448,7 +448,7 @@ gpgga_parse(char *ibuf)
         * as serial units will often spit a remembered position up and
         * that is more comfortable than nothing at all...
         */
-       if ((fix == 0) && (read_mode != rm_serial)) {
+       if ((fix <= 0) && (read_mode != rm_serial)) {
                return;
        }